package com.rykj.energy.database.pojo.vo;

import com.rykj.energy.database.pojo.BasicMeterData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@ApiModel("仪表区域等信息")
public class MeterInfoVo {

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty(value = "仪表名称")
    private String meterName;

    @ApiModelProperty(value = "仪表类型:电压表，水压表，温度表")
    private String meterType;

    @ApiModelProperty(value = "仪表编码")
    private String meterCode;

    @ApiModelProperty(value = "仪表算法对应的类型")
    private Integer distType;

    @ApiModelProperty(value = "数据类型:指针，数字")
    private String dataType;

    @ApiModelProperty(value = "摄像头id")
    private Integer cameraId;

    @ApiModelProperty(value = "是否首页展示:Y，N")
    private String isPageShow;

    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @ApiModelProperty(value = "仪表矩形位置，json字符串格式{\"startX\": 500,  \"startY\": 0,\"height\": 700, \"width\": 1000}")
    private String rectSeat;

    @ApiModelProperty(value = "仪表图片URL")
    private String meterImgUrl;

    @ApiModelProperty(value = "区域名称")
    private String  orgName;

    @ApiModelProperty(value = "指针表最小刻度" )
    private String minVal;

    @ApiModelProperty(value = "指针表最大刻度" )
    private String maxVal;

    @ApiModelProperty(value = "区域id")
    private String orgId;

    @ApiModelProperty(value = "关联的摄像头名称")
    private String camAlias;

    @ApiModelProperty(value = "仪表数据定义")
    private List<BasicMeterData> meterDatas;

}

